package filesystem

// FileStatus 文件状态(分享，收藏，最近)
func (fs *FileSystem) FileStatus(uname string) *FileStatus {
	return &FileStatus{
		Share:    fs.FileNav.IsShare(uname, ""),
		Recently: fs.FileNav.IsRecently(uname),
		Collect:  fs.FileNav.IsCollect(uname),
	}
}
